<?php
include_once('./base/xcx_fileloaderclass.php');
$upfile=new fileLoader();
$file   = $_FILES['file'];
$userid = $_POST['userid'];
$url    = "../users/".$userid."/img/";
$result = $upfile->uploadfile($userid,$file,$url);
echo $result;